package com.qd.common.sys.domain.event;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 系统设置
 *
 * @author sjk
 * @create 2022-10-31 13:44
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class SystemSetEventDTO {
    public static final Integer ADD = 0;
    public static final Integer UPDATE = 1;
    public static final Integer DELETE = 2;
    /**
     * 编码，对应sys_system_set表的code
     */
    private String code;
    /**
     * 操作类型
     */
    private Integer operator;

    public void freeData() {
        this.code = null;
        this.operator = null;
    }
}